﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package net.wooga.pets.controllers {
    import net.wooga.pets.events.*;
    import net.wooga.pets.constants.*;
    import org.robotlegs.mvcs.*;

    public class PreloadBabyCommand extends Command {

        public var event:InfoEvent;

        override public function execute():void{
            var _local1:RequestEvent = new RequestEvent(EventConstants.SEND_REQUEST);
            var _local2:String = this.event.id;
            _local1.addAssetRequest(ProtocolConstants.LOAD_BABY, _local2, ProtocolConstants.PRELOADING_PIPE);
            dispatch(_local1);
        }

    }
}//package net.wooga.pets.controllers 
